package com.longlong.yfbank.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.longlong.yfbank.entity.Traderecord;
import com.longlong.yfbank.mapper.TraderecordMapper;
import com.longlong.yfbank.service.TraderecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.time.LocalDateTime;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Date;

/**
* @author 20662
* @description 针对表【traderecord】的数据库操作Service实现
* @createDate 2024-01-07 13:19:33
*/
@Service
public class TraderecordServiceImpl extends ServiceImpl<TraderecordMapper, Traderecord>
    implements TraderecordService {

    @Resource
    private TraderecordMapper traderecordMapper;

    @Override
    public Page findAll(Page tradePage, String typeId, LocalDateTime startTime, LocalDateTime endTime){

        return traderecordMapper.findAll(tradePage, typeId,startTime,endTime);
    }
}




